// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import App from './App'
import router from './router/router'
import Vue from 'vue'

Vue.config.productionTip = false
//ElementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(ElementUI)
//Service
import Service from './api/services';

Vue.prototype.$service = Service;
//BaiduMap
import BaiduMap from 'vue-baidu-map'

Vue.use(BaiduMap, {
  ak: 'I7XvtxcI66gztibXOZLTXHqoXRZ2c7Cd' //此处为百度地图秘钥
});
//echarts
import * as  echarts from "echarts";

Vue.prototype.$echarts = echarts;
//jquery
import $ from "jquery";

Vue.prototype.$ = $;
//Vuex
import Vuex from 'vuex';

Vue.use(Vuex)

new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
